package bancosys.tec.persist.persister.listener;

import jmine.tec.annotations.Unmodifiable;
import bancosys.tec.persist.authorization.Authorizable;
import bancosys.tec.persist.persister.PersistenceAction;

/**
 * @author takeshi
 * @param <T>
 */
@Unmodifiable
public abstract class AbstractAuthorizablePersisterListener<T extends Authorizable> extends AbstractPersisterListener<T> implements
        AuthorizablePersisterListener<T> {

    /**
     * {@inheritDoc}
     */
    public void afterUpdateColdInstance(Authorizable target) {
    }

    /**
     * {@inheritDoc}
     */
    public void beforeAuthorization(PersistenceAction action, T target) {
    }

    /**
     * {@inheritDoc}
     */
    public void afterInsertIntoColdPartition(PersistenceAction action, T coldInstance) {
    }

    /**
     * {@inheritDoc}
     */
    public void beforeRejection(PersistenceAction action, T target) {
    }

}
